package com.tbh.autoassemble.bytype;

public class TextEditor {

    private SpellChecker1 spellChecker1;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SpellChecker1 getSpellChecker1() {
        return spellChecker1;
    }

    public void setSpellChecker1(SpellChecker1 spellChecker1) {
        System.out.println("Inside setSpellChecker1.");
        this.spellChecker1 = spellChecker1;
    }

    public void spelling() {
        spellChecker1.checkSpelling();
    }
}
